import React from 'react';

const Index = ({location}) => {
    const {state}=location
    return (
        <div>
            <dl>
                <dt><img src={state.img} alt="" /></dt>
                <dd>
                    <h3>{state.tit}</h3>
                    <p>{state.desc}</p>
                    <p>￥{state.price}</p>
                </dd>
            </dl>
        </div>
    );
}

export default Index;
